u-boot: add support for devicetree
authorAndrea Galbusera <gizero@gmail.com>
Tue, 15 May 2018 06:29:28 +0000 (08:29 +0200)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 23 May 2018 12:25:38 +0000 (12:25 +0000)
commitce2995e1dc1557c4d97ef5af807eacf3ef4a22d8
tree622becf033c36aa9830886ec78ded7afc4395189
parent4b330feed66dacf62c7193a1e84e20d9d1e34ba3
u-boot: add support for devicetree

Likewise the corresponding support for syslinux introduced by commit
c5112c25e4519835c4cd53f4350c1b2f2a477746, this one enables writing devicetree
filename into the uEnv.txt environment file for u-boot.

Since u-boot does not strictly defines variable names, here 'fdt_file' was
chosen as it appear to be one the most frequently adopted names in u-boot
default environments. Outer boot logic should of course comply with this choice
and use $fdt_file as the device tree file name to pass to boot commands.

This was tested on a custom board booting with u-boot.

Closes: #1590
Approved by: cgwalters
src/libostree/ostree-bootloader-uboot.c